package cn.kgc;

import com.netflix.loadbalancer.IRule;
import com.netflix.loadbalancer.RandomRule;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * 项目名：microservicecloud1
 * 创建人：Junyizm
 * 创建时间：2020/3/11-11:57
 */
@Configuration
public class MySelfRule {

    @Bean
    public IRule myRule(){
        return new RoundRule_SZZ();
    }

}

